package com.sxm.yiwei.constant;

/**
 * Created by Administrator on 2017/10/17.
 */

public class Common {
    public static final String HOST="http://173692vg40.51mypc.cn:40820";//http://dajiu.free.ngrok.cc
    public static final String IMAGE_HOST="http://oxe8cosxr.bkt.clouddn.com/";
    /*
    * 乘客为主体
    *
    * */
    public static final String PASSENGER_PUBLISH="/passer/publishPinServiceByPasser";//乘客发布信息(提交订单生成serviceId)
    public static final String PASSENGER_PUBLISH_EXACTLY="/passer/getPasserServiceById";//获取制定的乘客发布信息（根据serviceId回显服务详情）
    public static final String PASSENGER_PUBLISH_NOW="/passer/certainPublishByPasser";//乘客立即发布信息（生成OrderId跳转支付页面）
    public static final String PASSENGER_PUBLISH_ALIPAY="/alipay/publishWithPayByPasser";//乘客发布订单时支付宝支付
    public static final String PASSENGER_PUBLISH_RESTPAY="/yivipay/publishWithPayByPasser";//乘客发布订单时余额支付
    public static final String VEHICLE_VERIFICATION="/vehicle/vehicleIdentity";//提交车辆认证审核
    public static final String SEARCH_HOST_SURVICE="/passer/getOwnerServiceListByPasser";//搜索车主发布的服务
    public static final String PASSENGER_BUY_TICKET="/passer/buyTicketWithOwnerByPasser";//乘客购票生成订单（根据serviceId生成orderId，跳转支付页面）
    public static final String PASSENGER_SEARCH_RESTPAY="/yivipay/buyTicketWithMyWallet";//乘客我的钱包支付购票接口
    public static final String PASSENGER_SEARCH_ALIPAY="/alipay/buyTicketWithAlipayByPasser";//乘客支付宝支付购票接口
    /*
    * 退票，改签,异常订单处理详情
    * */
    public static final String GET_SPECIFIC_HOST="/vehicle/getOwnerInfoById";//获得指定的车主信息
    public static final String CHANGE_FORM_ORDER="/passer/alterTicket";//乘客改签生成订单
    public static final String CHANGE_ALI_PAY="/alipay/rebuyTicketWithAlipay";//乘客支付宝支付改签购票接口
    public static final String CHANGE_REST_PAY="/yivipay/rebuyTicketWithYiVipay";//乘客我的钱包支付改签购票接口
    public static final String COMPLETE_CHANGE="/passer/completeAlterTicket";//无调用
    public static final String REFUND_TICKET="/orderCenter/quitTicket";//退票
    public static final String EXCEPTION_RESULT="/orderCenter/getRtgOrderDetail";//异常订单处理详情
    /*
    * 车主为主体
    * */
    public static final String HOST_PUBLISH="/owner/publishPinServiceByOwner";//车主发布信息(提交订单生成serviceId)
    public static final String HOST_PUBLISH_EXACTLY="/owner/getOwnerServiceById";//获取指定的车主发布信息（根据serviceId回显服务详情）
    public static final String HOST_PUBLISH_NOW="/owner/certainPublishByOwner";//车主立即发布订单（生成OrderId，缴纳爽约金时跳转支付页面，免缴爽约金跳转完成页面）
    public static final String HOST_PUBLISH_ALIPAY="/alipay/publishWithPayByOwner";//车主支付宝支付发布订单接口
    public static final String HOST_PUBLISH_RESTPAY="/yivipay/publishWithPayByOwner";//车主发布订单时余额支付
    public static final String HOST_ROB_ORDER="/owner/grabTicketWithPasserByOwner";//车主抢票生成订单
    public static final String HOST_SEARCH_ALIPAY="/alipay/grabTicketWithAlipayByOwner";//车主支付宝支付抢票接口
    public static final String HOST_SEARCH_RESTPAY="/yivipay/grabTicketWithMyWallet";//车主我的钱包支付抢票接口
    public static final String SEARCH_PASSENGER_SURVICE="/owner/getPasserServiceListByOwner";//我是车主搜索乘客发布的服务订单列表

    /*
    * 订单中心(全部是非长途急件)
    * */
    public static final String WAIT_PAY_LIST="/orderCenter/getNotPayListByRole";//获取乘客,车主待付款列表
    public static final String WAIT_TAKE_LIST="/orderCenter/getWaitTakeOrderListByRole";//获取乘客,车主待接单列表
    public static final String REST_ORDER_LIST="/orderCenter/getOrderListByRoleAndStatus";//获取乘客，车主待服务，服务中，待完结，已完结订单列表
    public static final String START_SERVICE="/orderCenter/startServiceByOwner";//车主开始服务
    public static final String ALREADY_IN_CAR="/orderCenter/passerGetOnCar";//乘客我已上车
    public static final String ROUTE_FINISH="/orderCenter/completeOrderByRole";//乘客,车主行程完结接口
    public static final String ORDER_NUM="/orderCenter/getOrderCount";//乘客,车主获取各状态下的订单条数

    public static final String START_END_SELL="/orderCenter/playTicket";//开始，停止售票
    public static final String CANCEL_ORDER="/orderCenter/cancelOrder";//取消订单
    public static final String ORDER_APPEAL="/orderCenter/complaint";//订单申诉
    public static final String CANCEL_APPEAL="/orderCenter/cancelComplaint";//取消申诉

    /*
    * 订单详情（不包含服务）
    * */
    public static final String ORDER_DETAIL="/orderCenter/getOrderDetail";//订单详情
    public static final String SERVICE_DETAIL="/orderCenter/getServiceDetail";//服务详情
}
